import Vue from 'vue'
import Vuex from 'vuex'
import person from './person'
import saying from './saying'

Vue.use(Vuex)

const actions = {}

const mutations = {}

const state = {
    msg:'欢迎来到尚硅谷'
}

const getters = {}

export default new Vuex.Store({
    actions,
    mutations,
    state,
    getters,
    modules:{
        person,
        saying
    }
})